package com.qf.staff.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.staff.common.qo.GoodsQo;
import com.qf.staff.common.vo.GoodsVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface GoodsService {
    IPage<GoodsVo> list(int page, int size, GoodsQo goodsQo);

    int remove(GoodsQo goodsQo);

    int modify(GoodsQo goodsQo);

    int add(GoodsQo goodsQo, MultipartFile file);

    int removeAll(List<Integer> ids, int status);
}
